package mk.basic;

public class J02_Arithmathic {

	public static void main(String[] args) {

		//자료형 변환
		double number=(1/3)*3;
		//실수리터럴
		
		int quotient=7/3;
		int remainder=7%3;
		int result=11;result /=2;
		
		System.out.println("가"+number);
		System.out.println("나"+quotient);
		System.out.println("다"+remainder);
		System.out.println("라"+result);
		
		//결과가 무엇일까?
		System.out.println((1/3)*3);
		
		//자료형 변환(명시적)
		System.out.println(((float)1/3)*3);
		
		//실수리터럴
		System.out.println((1./3)*3);
		System.out.println((1f/3)*3);
		
	}

}
